﻿namespace _2.Data_Access_Object
{
	using System;
	using System.Collections.Generic;
	using System.Linq;
	using System.Text;
	using System.Threading.Tasks;

	using _1.Maping_all_tables_in_DB_First;

	class Main_Task2
	{
		static void Main()
		{
			var obj = EmployeeDAO.FindByKey(1);
			obj.LastName = "Modified Last Name";
			EmployeeDAO.Modify(obj);
		}
	}
}